package com.shop.shoporder.service;

import com.shop.shoporder.common.Response;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface AlipayService {
    Response payAlipay(Map<String, String> map, HttpServletRequest request, HttpServletResponse response) throws  Exception;
    Response alipayReturn(Map<String, String> map, HttpServletRequest request, HttpServletResponse response) throws  Exception;
    Response alipayNotify(Map<String, String> map, HttpServletRequest request, HttpServletResponse response) throws  Exception;
}
